/*
 * Copyright © 2016 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
@import '../../../styles/variables.scss';

.entity-card-header {
  padding-left: 10px;
  width: 100%;
  h4 {
    line-height: 13px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 500;
    span { vertical-align: middle; }
  }

  .entity-type { margin-left: 5px; }
  &.artifact { background-color: $artifact-entity-header-bg; }

  &.application {
    background-color: $application-entity-header-bg;
  }

  &.datapipeline {
    background-color: $datapipeline-entity-header-bg;
  }

  &.datasetinstance {
    background-color: $datasetinstance-entity-header-bg;
  }

  &.stream {
    background-color: $stream-entity-header-bg;
  }

  &.view { background-color: #1abc9c; }

  &.program {
    background-color: $program-entity-header-bg;
  }

  &.success-message {
    background-color: $success-message-bg;
  }
}
